<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>axios的get请求</title>
    <!--引入axios-->
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>

    <script>
        axios.get("http://localhost:8989/axios/user/findAll?name=蛤蛤蛤&password=321")
            .then(function (res) {
                console.log(res.data);
            })
            .catch(function (err) {
                console.log(err);
            })
    </script>

</head>
<body>

</body>
</html>